<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类的实际应用-设置默认样式</title>
    <style>
        a:link a:visited{
            color: #666;
        }
        a:hover{
            color: #f00;
        }
        a:active{
            color: blue;
        }
    </style>
</head>
<body>
    <a href="http://www.baidu.com">点击跳转到百度</a>
</body>
</html>